<% content_for :sidebar do %>
  <% @sidebar_title = "Filtrování zákazníků" %>

  <%= form_for [:admin, @search], :url => admin_order_user_infos_path do |f| %>
  <table>
    <tbody>
      <tr>
        <th><%= f.label :user_surname_contains %></th>
      </tr>
      <tr>
        <td><%= f.text_field :user_surname_contains %></td>
      </tr>
      <tr>
        <td><%= button_to_search "Filtrovat" %></td>
      </tr>
    </tbody>
  </table>
  <% end %>
<% end %>